home *** CD-ROM | disk | FTP | other *** search
- dllparam
- DLL parameter tester
- Form1
- TestIntByval
- ReceivesInteger(5)
- TestIntByref
- Add5To5
- TestControl
- Get Hwnds
- TestLongByval
- ReceivesLong(6)
- TestLongByref
- Add5To6
- TestSingleByval
- ReceivesSingle(1.59)
- TestSingleByref
- Add5To1.59
- TestCurrencyByval
- ReceivesCurrency(1.2345)
- TestDoubleByval
- ReceivesDouble(3.145)
- TestDoubleByref
- Add5To3.145
- TestCurrencyByref
- AddPennyToCurrency(1.23)
- TestString
- ReceivesString "Hello"
- TestStringChange
- Adds'!'to"Hello"
- TestVBString
- !ReceivesVBString("String to DLL")
- TestUserType
- ReceivesUserType(1,2,3,4)
- TestVBStringChange
- ChangesVBString("Short")
- TestAddUserString
- AddUserString
- ReceivesIntArray
- Int Array
- ReturnVBString
- ReturnsVBString()
- TestSingleByval_Click
- ReceivesSingle
- TestLongByval_Click
- ReceivesLong
- TestDoubleByval_Click
- ReceivesDouble
- TestIntByref_Click
- Add5ToInteger7
- TestLongByref_Click
- Add5ToLong`
- TestSingleByref_Clicky
- Add5ToSingle
- TestDoubleByref_Click
- Add5ToDouble
- TestString_ClickO
- ReceivesString
- TestStringChange_Click
- ChangesString9
- TestControl_Click
- GetControlHwnd
- command11
- hfrmN
- GetFormHwnd}
- dllparamc
- TestVBString_Click
- ReceivesVBString
- TestVBStringChange_Click
- ChangesVBStringQ
- ReturnVBString_Click
- ReturnsVBString
- TestUserType_Click
- usertype
- ReceivesUserType6
- TestCurrencyByval_Click
- ReceivesCurrencyg
- TestCurrencyByref_Click
- AddPennyToCurrency
- TestIntByval_Click
- ReceivesInteger
- TestCurrByval_Click8
- Form_Click
- TestControl
- ReceivesIntArray_Click
- ReceivesIntArray
- Command1_Click
- ReceivesVBStringArray
- TestAddUserString_Click
- AddUserString
- DLL parameter test programm
- Copyright (c) 1992, by Desaware
- All rights reserved
- This program is used to test the dllparam.dll dynamic
- link library.
- TestSingleByval_Click
- Passing singles by value and returning singlesc
- TestLongByval_Click
- Passing longs by value and returning longsr
- TestDoubleByval_Click
- Passing doubles by value and returning doubless
- TestIntByref_Click
- Passing integers by reference
- Add5ToInteger"
- TestLongByref_Click
- Passing longs by referencea
- Add5ToLong
- TestSingleByref_Click
- Passing singles by referencee
- Add5ToSingle
- TestDoubleByref_Click
- Passing doubles by referencee
- Add5ToDouble
- TestString_Click
- Passing strings (null terminated)
- Always by reference
- Hello"$
- TestStringChange_Click
- Passing and modifying strings (null terminated)
- Always by reference
- Null terminated string is passed to the routine
- x$ must be preinitialized to the maximum length.n
- The DLL may change the contents of the string, but,
- must never go past the null terminator
- Hello"
- ChangesString"
- TestControl_Click
- Passing controls and forms as parameterss
- This control hwnd is "
- , the form hwnd is "
- Get Hwnds"
- TestVBString_Click
- Passing Visual Basic strings
- String to DLL"$
- TestVBStringChange_Click
- Passing and modifying Visual Basic stringss
- Note - no length restrictions apply
- Short"
- ChangesVBString"
- ReturnVBString_Click
- A DLL function returning a Visual Basic Stringg
- ReturnsVBString"
- TestUserType_Click
- Passing user defined typess
- Always by reference
- Note - this is call by reference, the DLL can changen
- the value of u
- TestCurrencyByval_Click
- Passing currency by value and returning currencyy
- TestCurrencyByref_Click
- Passing currency by reference
- AddPennyToCurrency
- TestIntByval_Click
- Passing integers by value and returning integerss
- ReceivesIntArray_Click
- This is a test of passing a pointer to a numeric arrayy
- Note the unique DLL calll
- Pass a pointer to the first element of the array.
- The DLL has no way of knowing how long the array is
- unless you define a length parameter for the function.w
- TestAddUserString_Click
- Show how to access strings inside user defined types
- Note - this is call by reference, the DLL can changen
- the value of u
- orignal string
- String in usertype changed
-